import mock from 'mockjs'
import indexAlarm from './indexAlarm.js'
import deviceAlarm from './deviceAlarm.js'
import workAlarm from './workAlarm.js'
import lineChart from './lineChart.js'
import guageChart from './guageChart.js'

mock.mock(/\/indexAlarm/, 'get', indexAlarm.getIndexAlarm)
mock.mock(/\/deviceAlarms/, 'get', deviceAlarm.getDeviceAlarm)
mock.mock(/\/getWorkAlarms/, 'get', workAlarm.getWorkAlarms)
mock.mock(/\/getLineChart/, 'get', lineChart.getLineChart)
mock.mock(/\/getGuageChart\/ph/, 'get', guageChart.getGuagePh)
mock.mock(/\/getGuageChart\/cod/, 'get', guageChart.getGuageCod)


export default mock